import store from '@/store/index'

export default {
    computed:{
        chatHistoryMessage:{
            get(){
                return store.state.app.chatHistoryMessage
            },
            set(value){
                store.commit('app/setChatHistoryMessage',value)
            }
        },
        nowMessage: {
            get() {
                return store.state.app.nowMessage
            },
            set(value) {
                store.commit('app/setNowMessage', value)
            }
        },
        nowReasoningMessage:{
            get(){
                return store.state.app.nowReasoningMessage
            },
            set(value){
                store.commit('app/setNowReasoningMessage',value)
            }
        },
        activeModels:{
            get(){
                return store.state.app.activeModels
            },
            set(value){
                store.commit('app/setActiveModels',value)
            }
        }
    }
}